package cn.zhuama;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("cn.zhuama.*.mapper")//扫描多模块的mapper接口
@ServletComponentScan(value = {"cn.zhuama.basic.listener"})
public class PetHomeApplication {

    public static void main(String[] args){
        SpringApplication.run(PetHomeApplication.class,args);
    }
}